class Mobile::Weixin::FoodTypesController < ApplicationController

    def index
        @restaurant = Restaurant.find params[:restaurant_id]        
        food_types = @restaurant.food_types
        @top_food_types = food_types.where(is_top:true)
        @untop_food_types = food_types.where(is_top:false)
        @drinks = @restaurant.drinks
        @discount_foods = @restaurant.discount_foods
        @food_groups = @restaurant.food_groups
    end    
end
